package com.liwinon.itevent.controller.event;

import com.liwinon.itevent.service.DelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/itevent")
public class deleteController {
    @Autowired
    DelService del;

    /**删除资产*/
    @GetMapping(value = "/delAssets")
    @ResponseBody
    public String delAssets(String id){
        return del.delAssets(id);
    }
}
